package com.bsoft.gol.hcs.his.bean.response;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * Created by ChenJij on 2021/1/6.
 */
@XmlRootElement(name = "Data")
public class QueryInvoiceListXmlResponse {

    private List<InvoiceList> invoiceLists;

    @XmlElementWrapper(name = "InvoiceLists")
    @XmlElement(name = "InvoiceList")
    public List<InvoiceList> getInvoiceLists() {
        return invoiceLists;
    }

    public void setInvoiceLists(List<InvoiceList> invoiceLists) {
        this.invoiceLists = invoiceLists;
    }

    public static class InvoiceList {
        private String visitOrganization;
        private String visitOrganizationName;
        private String deptCode;
        private String deptName;
        private String busType;
        private String busTypeName;
        private String totalCost;
        private String invoiceStatus;
        private String invoiceTime;
        private String billBatchCode;
        private String billNo;
        private String random;
        private Integer invoiceType;//发票类别，1普通发票  2电子发票，1表示已经打印过普通的纸质发票，不能再生成电子发票
        private String name;//就诊人姓名
        private String businessNo;//结算标识，某次结算记录的标识
        private String invoiceNumber;//发票号码，可以是虚拟发票

        @XmlElement(name = "InvoiceType")
        public Integer getInvoiceType() {
            return invoiceType;
        }

        public void setInvoiceType(Integer invoiceType) {
            this.invoiceType = invoiceType;
        }

        @XmlElement(name = "Name")
        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        @XmlElement(name = "BusinessNo")
        public String getBusinessNo() {
            return businessNo;
        }

        public void setBusinessNo(String businessNo) {
            this.businessNo = businessNo;
        }

        @XmlElement(name = "InvoiceNumber")
        public String getInvoiceNumber() {
            return invoiceNumber;
        }

        public void setInvoiceNumber(String invoiceNumber) {
            this.invoiceNumber = invoiceNumber;
        }

        @XmlElement(name = "VisitOrganization")
        public String getVisitOrganization() {
            return visitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            this.visitOrganization = visitOrganization;
        }

        @XmlElement(name = "VisitOrganizationName")
        public String getVisitOrganizationName() {
            return visitOrganizationName;
        }

        public void setVisitOrganizationName(String visitOrganizationName) {
            this.visitOrganizationName = visitOrganizationName;
        }

        @XmlElement(name = "DeptCode")
        public String getDeptCode() {
            return deptCode;
        }

        public void setDeptCode(String deptCode) {
            this.deptCode = deptCode;
        }

        @XmlElement(name = "DeptName")
        public String getDeptName() {
            return deptName;
        }

        public void setDeptName(String deptName) {
            this.deptName = deptName;
        }

        @XmlElement(name = "BusType")
        public String getBusType() {
            return busType;
        }

        public void setBusType(String busType) {
            this.busType = busType;
        }

        @XmlElement(name = "BusTypeName")
        public String getBusTypeName() {
            return busTypeName;
        }

        public void setBusTypeName(String busTypeName) {
            this.busTypeName = busTypeName;
        }

        @XmlElement(name = "TotalCost")
        public String getTotalCost() {
            return totalCost;
        }

        public void setTotalCost(String totalCost) {
            this.totalCost = totalCost;
        }

        @XmlElement(name = "InvoiceStatus")
        public String getInvoiceStatus() {
            return invoiceStatus;
        }

        public void setInvoiceStatus(String invoiceStatus) {
            this.invoiceStatus = invoiceStatus;
        }

        @XmlElement(name = "InvoiceTime")
        public String getInvoiceTime() {
            return invoiceTime;
        }

        public void setInvoiceTime(String invoiceTime) {
            this.invoiceTime = invoiceTime;
        }

        @XmlElement(name = "BillBatchCode")
        public String getBillBatchCode() {
            return billBatchCode;
        }

        public void setBillBatchCode(String billBatchCode) {
            this.billBatchCode = billBatchCode;
        }

        @XmlElement(name = "BillNo")
        public String getBillNo() {
            return billNo;
        }

        public void setBillNo(String billNo) {
            this.billNo = billNo;
        }

        @XmlElement(name = "Random")
        public String getRandom() {
            return random;
        }

        public void setRandom(String random) {
            this.random = random;
        }
    }
}